package com.shermanzhou.juel.condition;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author zhouchaoqun02
 * @date 2020-10-21 10:29
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ConditionLeafNode extends ConditionTreeNode {

    private ConditionUnit conditionUnit;

    @Override
    public boolean isLeaf() {
        return true;
    }
}
